﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using CID.Tests.Support;
using CID.Domain.Audit;

namespace CID.Domain.Tests.Audit
{
    [TestFixture]
    public class ActiveVersionTests : BaseFunctionalTests
    {
        [Test]
        public void CreateActiveVersion()
        {
            var environment = Operations.StubsBuilder.BuildEnvironmentStub();
            var version = Development.StubsBuilder.BuildVersionStub();

            var activeVersion = new ActiveVersion(environment, version);

            Assert.AreEqual(environment, activeVersion.Environment);
            Assert.AreEqual(version, activeVersion.Version);
        }
    }
}
